/**
 * @ngdoc module
 * @name controllers.timeDataDis.provinceVolumeOfBus
 * @description provinceVolumeOfBus module
 */
;
(function () {
  'use strict';

  angular.module('controllers.timeDataDis.provinceSuccessRateOfTrans', [])
    .controller('provinceSuccessRateOfTransCtrl', provinceSuccessRateOfTransCtrl);

  function provinceSuccessRateOfTransCtrl(provinceSuccessRateOfTransServer, $scope, provinceSuccessRateOfTransModel) {

    $scope.provinceSuccessRateOfTrans = provinceSuccessRateOfTransModel;

    $scope.$watch('provinceSuccessRateOfTrans.volState', function (value) {
      $scope.$parent.tabState.volState = value;
    });

    $scope.$watch('provinceSuccessRateOfTrans.loding', function (value) {
      $scope.$parent.tabState.loding = value;
    });

    provinceSuccessRateOfTransServer.initProvinceSuccessRateOfTrans('provinceSuccessRateOfTrans');
  }
})();